/*
 * @Descripttion: 
 * @Author: yubo
 * @Date: 2022-08-30 17:28:15
 * @LastEditTime: 2022-08-30 17:35:01
 */
#pragma once

#include <string>

// thread safe
class Base64
{
public:
	static std::string encode(const std::string &binary);
	static std::string decode(const std::string &text);
	const static std::string _base64_table;
	const static char base64_pad = '=';
};

